Moved SDL cleanup stuff to it's own function. Added some more info to ui and a decoder