When setting up some of the windows, initialise them with basic values so they exist before referencing them.