Set readOnly to false instead of nocursor. Fixes #22