Completely changed interface code, edited gui.py