Cleaned up gui.py
Cleaned gui.py further to be accessible to metaprogramming. Added corpus health back in.