various cleanups/fixes.

Signed-off-by: Mark Nelson <mark.nelson@inktank.com>