Revert to correct author of "fixed bug: print window would open and close right away...