tidy up main.cpp a little more
tidy up main.cpp a little more

ccdevnet/openc2e,ccdevnet/openc2e,ccdevnet/openc2e,crystalline/openc2e,ccdevnet/openc2e,ccdevnet/openc2e,bdonlan/openc2e,crystalline/openc2e,crystalline/openc2e,bdonlan/openc2e,crystalline/openc2e,crystalline/openc2e,bdonlan/openc2e,ccdevnet/openc2e,bdonlan/openc2e