Updated ghc-mod to use flags; improved ghc-mod error reporting.