added warnings to .cabal; there are many
fixed all ghc warnings