only run the event loop in gui mode

@caotto Getting stack traces in OpenBR has been tricky lately due to the threading indirection in:
1. The FakeMain argument parsing
2. Multi-threaded enrollment

This is the first of two pull requests designed to make stack traces easier to acquire. Here we make `-gui` synonymous to running an event loop.