Turn-based mesh implemented

There seems to be a bug still, because the agents are making some
strange movements. A fix is imminent!