Filter dbgprint logging more aggressively and provide a start option

to disable the hook altogether.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>