cleanup: events, joystick, keyboard, mouse, utf8
cleanup: fshook, memory