a new ToggleTextButton, an OpenGL button for the options panel, and GraphsState changes

GraphsState has been changed to use ToggleTextButton and looks a little bit tidier for it