some changes

pathfinding is wrapped in a thread now, still some bugs to work out.
slow motion is implemented