added 'debug' mode and output events to outlet
remove inlet from gemkey*