Improved application of anaerobic digestion technology for the treatment of, and renewable energy from, agricultural, industrial and municipal wastes and wastewaters.