Trying to create event handling library for pygame

its not going well.
have debugged all visible errors,
event handler will not execute though. Everything else seems to work.