logging, small bug fixes
0.9.3