different event trigger handling, debug flags for renderer (keys 1, 2, 3)