Patch for NPE viewing character.

Hey, I was testing this out in the simulator and was getting null pointer exceptions trying to view a character.

Here's a patch that instantiates some hashmaps for modified attrs and saves. Also adds types when instantiating.