Fix up some errors, add more linting

Signed-off-by: Austin Seipp <aseipp@pobox.com>