bugfix: prevent plugins from being loaded multiple times and python 2.6 support