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

I couldn't run the linx executable, so I decided to download the source code and compile it.