General cleanup

Signed-off-by: Sean Qureshi <sean@tox.im>