several bugfixes for rerendertabtree
several bugfixes for rerendertabtree

It was prone to infinite loops, mixing elements etc.

debguy0x/PyBitmessage,bmng-dev/PyBitmessage,debguy0x/PyBitmessage,timothyparez/PyBitmessage,timothyparez/PyBitmessage,bmng-dev/PyBitmessage,hb9kns/PyBitmessage,hb9kns/PyBitmessage,torifier/PyBitmessage,torifier/PyBitmessage,timothyparez/PyBitmessage,torifier/PyBitmessage,timothyparez/PyBitmessage,debguy0x/PyBitmessage,hb9kns/PyBitmessage,debguy0x/PyBitmessage,torifier/PyBitmessage,bmng-dev/PyBitmessage,hb9kns/PyBitmessage