Main window: fix scan/import/print/export menus

Signed-off-by: Jerome Flesch <jflesch@gmail.com>