gui.py import cleanup