Fix issue with windows not appearing.
Correctly set random orientation at startup.

The bug was that it wasn't honoured unless the value was changed.
Set icon before setting video mode.

As per the SDL documentation.