Major cleanup and changes to API and layout.

Errors being defined and recorded.
UI is now becoming functional.  Config is next.