Fix page box bug in DrawingTracer (#404); add more debug output.

Fix #404 
Probably it's better to use #if/#endif blocks instead of marking each line.