Cleand up some warnings.
Added hide/show gui.