Updated README and fixed more bugs.