several small GUI fixes. global function HideTools and ShowTools