Return the frame that window WINDOW is on. WINDOW must be a valid window and defaults to the selected one. (fn WINDOW)