graphics concurrency bug fixes
bugfix: units could still move when moves left=0
fixed damage calculations
factory fix; allow units to be selected, but disable buy button if not enough money
AI debugging/updates - added DebugTools class