Added test/canvas.html, a new test that shows a box around the mouse cursor. This required many bug fixes to the demand monitor implementation.