PEP8 Fixes and Undo GUI update