Reorganized GUI Rendering

Added new DrawSnippet code, although it is untested.