UI improvements. Add character data.

UI improvements
- refactor to get rid of global variables.
- tidyup.
Add character data.
Add support for characters. Some UI improvements.

Add support for characters:
- add, remove, move, display etc;
Some UI improvements:
- auto resize property and palette windows
- TODO: handle UI updates after item and character moves.