Iteration instead of recursion in world update & draw.