Reenable Unicode

It would appear that the calls to SDL_EnableUNICODE() are required.
Also made some formatting tweaks and optimizations.