fixed multiple bugs discovered when writing Ammonite; added a couple features
documentation