Implmented basic attack and tick for units, plus a few misc changes.