bugfixes, more comments, changed README