works as far as i can tell

backed out of the close_window_helper, and instead generally handling
apple only return from stopping child processes