Update gui.py

License header added