filemarker for back off on large file transfers
shared queue for passing events between producer and consumer
event wrapper, also contains directory
init eventhandler
moved most event handling logic to event caller