only touch dependent TC objects if the tool number changed; changed formatting of intermediate path representation to be valid g-code and not use exponents.