avoid errors when user cancels a file select
maximise window after loading a comic