Finished up changes to balance calculations, and fixed the UI to work
with new domain structure.  Ready to merge to master.