NEW_GEN: Fixed numerous compiler exceptions when run on the RVC decoder and a handful of smaller CAL syntax test applications. Mainly made the ActorDirectory safer to support both the classes and the instantiated (transformed) networks and actors, also made the expression and declaration scope & context fixer for moved IR elements safer.