Added config-file controlled window resolution