1.2.0

Improve internal API, update usage, add primitive logging facilities.