Added a readme.txt file and some bug fixes.