Checking in some changes. Lots of refactoring and dependency reorganization.  UNSTABLE.  DO NOT PULL.
Moved spatial-ui and made it a submodule of this project.