Python 3 compatibility
Aiming to use same source for Python 2 & 3
Working with OS X
Fixed a bug where plugins would be loaded multiple times