remove dead code, move weight(unit) to unit.c
kill gc_add and gc_done, they were terrible ideas.