added check for loading mf2 library to avoid redeclaring from other plugins. Might be hacky?