cleanup + a bit of docs
fix whitespace
Fix bindings.