ShieldedTree fixes.

It now has a proper Count. The old implementation would go into infinite recursion
if you tried reading it. Revealed by using the tree in the queue test, just to test it's
behaviour. It also revealed that the remove procedure is incorrect, fixed that too.