Main window: Make sure the main window icon is correctly loaded

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