Add simple events (nullify gem on click and quit on key pressed).