Fixed the reading and setting of the collisions flag.
DistanceMap is now parameterized by tileSize.
Commented out some unused methods.
If unit is within attack range of an enemy, go towards it. This is to prevent melee units from being shot at without defending themselves while walking towards the goal.
Let DistanceMap do the pixel/build/walk tile conversion.
If there is a collision, don't just skip the move, but try a shorter move first.