Tidy the plugin meta-information and add comments