em400 debugger cleaning #2
em400 debugger: cleanup #3
merge
em400: missing reset_scanner();