Ensured window is closed if server fails to start
Added some gamma ramp controls