fixed Missing Toplevel import
PEP8 changes with autopep8
Re-factoring changes
Cleaned up extra buttons and bits of code: