added LSUIElement key to info.plist (does not seem to work).
refactored event ids; flush events properly; added menu status item.