formatting
added destructor
ESC no longer functions as instant quit
fixed memory leak
removed unnecessary loading
added function to clear all the states
restored LVL3 warnings