Better simplifyMod. GHC bug!!!
Fixed writing bug. Better simplifyMod.