Fix case sensitivity of note type's name

Also add a few comments about the case sensitivity or case insensitivity of user parameters.