few fixes

Fixed regex to allow for single names and all digit names.
Fixed sqlite import error caused by large text files.