Fixed all obvious problems with the gui. Performance is still a little lacklustre, but that should just be from MatchState and MatchView processing. I'll try to move more of that to the back end and make them more efficient.