cocoa: hide test window