recwindow: minor cleanup