changed the way the main Cing app functions are being declared to work in clang llvm, hopefully I did not break anything on windows...