Various bug fixes and changes to allow new buffer allocation to work correctly, and fix duration handling bugs discovered along the way...

Version raised to 3.0.82.2