Added a small 3D starfield effect. Also, added a way for the run loop to know if the display is close requested.