Changed order of control to prevent bad behavior on Alt-Tab.
Added support for make par phase.