Revert main.cpp to last version on develop before merge of features: Seems I merged in some debug code without realising.

Minor change: TGlobalData::Instance() is now defined in EventNavigator.cpp, so removed doubled definition in main.cpp.
Merge branch 'develop' of github.com:alcap-org/AlcapDAQ into develop