(Re)fixed multiple minimize/restore bug. New maximizing pipeline.

(Re)fixed multiple minimize/restore bug.
New maximizing pipeline that better supports multiple monitors and taskbars.