corrected function name setCursorWait > setCursor