Freshened EditBuffer. The new version no longer leaks pointers or references to its internal state.