removed old code from commonHeader.php
Made selecting other unit stopMove of previously moving unit.

add and commented out code for map constraints.