Remove grabber window.
Merge the scan handler and main program.