out sourced win32 event queue stuff to a new class