Updated README.txt and minor bug fixes