Correct logic that invokes the AOM_151_CONVERTER - should only be invoked on pre 1.5.1 archetypes.
Use C_OBJECT node colouring on C_PRIMITIVE_OBJECTs
Refactor flattening algorithm and fix ordering problem.