Cleanup|libgui: Replaced debug printouts with log entries