Renderer cleanup

This brings the renderer code more in line with our coding style and removes the bogus special-case key handling.

If Windows/SDL still doesn't handle alt-f4 properly (and we still want to keep a workaround) then it should be reimplemented inside an if (windows) check, and not forced on everyone.