Latest GUI code

Here's the latest GUI code I've been working on.