Add elmah. Set trust level to medium. Fix prod bug