Almost all Hlint warnings fixed
Merge pull request #1 from Raahul-Kumar/master

Ran Hlint, fixed 45 errors. 4 warnings still left.