Moving GlobalConstants to be a C++ class and creating GuiAppMgr.
Changing state management.
Added generic handler to comms library.