Added comments to ScannerWindow