Fix logic bug where lone trees would never die.  Rearrange end-of-month death code.  Add more consistency checks to attempt to debug memory corruption.