Use weak references in the memory manager
Added utility method to BinComputer
Added createGroupingIterator to IterableUtils
Better waiting in SafeThread