Now handles the Smarty-processed features of the new {cms_stylesheet}-style tag
Fixes paths when using internal pretty urls