Implemented GUI hiding for all buttons, handling logging exceptions