Added some info in readme. Fixed a bug or two.