added abortSelectionOnBlur option
some minor changes