Added window_peep_close

Not tested. Cancels any tool that was in use by the window.