Added UiMode enum and support. Renamed "Mode" to PlayMode for disambiguation with new UiMode.
Fixes some issues with what I pushed before.
Merge pull request #2 from ozziepeeps/master

Added UiMode enum to support P | Cast's twin UI.