Cleaned up gui.
Cleaned up gui.
Added list of patterns.