Hide main window when started with --replaygain argument

... and close the main window when closing the replay gain tool