Updated GUI

- Fixed bugs in GUI
- Now GUI is a listener
- Refactored incoming check method
Thomas