misc cleanups; merged `server` and `client` eventhandlers into `gameEventHandler`