fix UpdateState method signatures so they actually get called
add missing HideGUI call