Metadata extractor plugin and some minor fixes

A true pythonista, you are! :+1: