Converted tactic functions to new debug
Finished converting unit functions to new debug