Move background management to the window
Move stage management into the WindowBase class