Tidied up quitting.  Quit just sets a flag to end the application loop. All actual closing is left to cmgui.c, unemap.c etc.
Tidied up quitting.  Quit just sets a flag to end the application
loop. All actual closing is left to cmgui.c, unemap.c etc.


git-svn-id: 4705079bc6b8aadf675e3696f5c015a6aa4916e3@605 3c1deb5b-d424-0410-962d-aba41a686d42

OpenCMISS/zinc,OpenCMISS/zinc,hsorby/zinc,hsorby/zinc,OpenCMISS/zinc,hsorby/zinc,hsorby/zinc,OpenCMISS/zinc