Style fixes

* Specifically adding `return` to callbacks
* fix trailing `;` in callback doc
* remove some unused variables and declarations
* Misc style fixes
This was right. Always a space before/after non empty {}