Lots of UI work (Contracts!) and contract-accessing. Other minor fixes.