Removed some leftover debug code, forced StatEditor to be run with arguements. Added option of exiting by pressing escape.