Made transform_apply use std::vector instead of std::list.
Removed bad RSI comments.
Merge commit '1278dbd' into sam_merged_1296
Merge branch 'sam_merged_1296' into next