couple small bug fixes and some documentation