1. Move maximized window into the background when it's not focused.
2. Changed semantics so that maximizing a different window will
automatically restore the currently maximized window and maximize the
new one (previously this had to be done in two seperate steps).