Doing a better job of clearing out memory.
Give this a shot for issue #1.