refactored unit checking into wizardframe, got trans unit checking working