correct pointer initialisation in GMainWindow
One can specify an input file via command line with -if <filename>