Fixed header include in engngm.h
Rough tidying up of include files for minimizing re-compilations by making use of forwrd declarations.
Made most TM test use emptycs instead of SM-only "SimpleCS"
Used alternative syntax to remove ambiguity in (broken) VS compiler.