Only show window after loading is complete.