Revert target variable for use in ScrollContainer
Main text format attributes now working in cpp, flash and html5