added a fix to addUnit(), started working on unit movement in waitGameInput()