Fix compilation warnings and fix all hlint reported warnings.

I also enabled the Linux Dwarf Fortress executing again.
Remove useless tick printing.