Improved communication and error handling with ghc-modi.