Allow task.js style tests.
Update diffpatcher.
Make reactor a state owner.
More cleanup.
Expose toolbar and frame.
Write one API test.