Reorganized dialog code, startup
Changed focus color, added some edit CSS
Consolidated onload methods, set up toolbar first
Various changes to editing