Fixed an issue which caused an attempt to configure application windows before they had been instantiated.