Updates to logging, elmah, and security