Added plugin loading ability for static plugins. It will most likely not work properly...