Cleanup index.php + implement @html_attrs/@body_attrs hooks.