add handling for events created before server is started
Merge pull request #228 from pikselpalette/master

add handling for events created before server is started