Added basic err handling code, fixed concurrency stuff, improved Rakefile
Fixed Rakefile prob
More fixes
Stylistic changes
More perf counters
Added comments and removed misc/cleanup.sh