Fixes issue #64 - Make debug_callback less verbose.

The debug_callback prints an excessive amount because it doesn't
know how much real data is actually present in the buffer. This is
a workaround, to find the "rectangle" that contains non-zero data.