The new patches address this issue, make some little corrections that are pointed in the comments. Also I organized them better, with the tests first.
2011/6/28 Lucas Zawacki lfzawacki@gmail.com:
Do you really need to copy it back? It looks like an input parameter.
Yes, you're right. In SetActionMap this copy should not be necessary. I'll take this code out and roll a new version of the patches.