Merge "when cursorwindow allocation fails, print the number of cursors left open"