improved SDL_gui unit test
code cleanup
partially repaired SDL_gui unit test
misc changes
repaired client ui
improved SDL gui OpenGL unit test