lib: fix whitespace & comments (PR #33)