more cleanup, fixed crazy unit id value thing

still occasional command not going through over network