Added toggle_gui command to show/hide gui
Removed all compiler warnings