fixing php short tags, plugin_uri handling and some formatting