#125 make prefix autocompletion case insensitive
#126 improve auto-adding of prefixes