Now the window size is adjusted on startup. This is an optional argument for the createWindow method. As it is very useful with DirectX it is added to the argument list.