Fix incorrect behaviour when passing null pointer to setTextEdit
Simplify checkRange, fixes various issues
Bump version to 0.2.1