pep8: canvas_events.py
pep8: console.py
pep8: rootwait.py and add missing import of atexit