More xml settings.
WIP for saving / loading settings for each state.
WIP towards GUI and variables for setting for setting colors and and blend modes.
Cleaned up comments and stale code.