Fixed some bugs, added stuff to the README