Fix arity detection bug in `emit`, addl logging.
0.1.2