fixing typo.
removing warnings.
restart a GhcMod session if the cabal file is changed.