Change from console to gui