Whitespace.
Docstring typos.
Add on-close function [#112]