No more light flash when the window opens in dark mode.

Fixed

- In dark mode, the main window no longer flashes a light, half-built page as it opens. It now
  shows once it's ready, and every window starts in the right color scheme.