added -noEventLoop flag
Merge pull request #205 from biometrics/threadless

only run the event loop in gui mode