More fixes and cleanup.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>
Merge pull request #34 from FellowTraveler/gui

More fixes and cleanup.