Latest GUI code

This is my latest version of the GUI code and it works great for me.