Added callback for scan preview change.
Make scan view a listener of active scanner.
Add handler for on_scan_preview_update to redraw center view.
Change scanner option resolution to independently use x and y resolution parameters.