janus tweaks
added diagnostic message for listen failure
only run the event loop in gui mode
added noEventLoop flag