Switched to a TCP server architecture for dispatching events, rather than relying on command line arguments.