Formatted main.py to match PEP8
Formatted frames.py and tabs.py to comply with PEP8
Finished formatting code to (mostly) match PEP8