First bugfix: garbage collector was not in a loop.