Fix small issues found with go vet.
Merge pull request #59 from AlekSi/vet

Fix small issues found with go vet.