Updated to latest changes in gols.go

Variables that are used universally in all functions are moved into the public var() section, additional unnecessary lines and spacing is removed from the version and help dialog, showHidden is changed from h to a to reflect the help dialog, and setModeType is removed for being redundant.