hook up the rest of the window-specific functions