Started to more gracefully handle pack JSON errors.Cleaned up the logging by creating our own extension of AbstractLogger in Log4J. (commit: 3820c7a)