fix several compile errors from remapping
fix errors with setAttribute
Merge pull request #182 from progwml6/master

fix names that were changed by MCP