more cleanup, changed unit ID stuff

old unit IDs are now recycled. pings are synchronized.