Better memory management so less BadThings™ will happen.

Seems to have fixed unexplained read errors