cleaned console output into a gui window