Improved compatibility

Imroved python3 and Blender 2.5+ compatibility (not fully ready yet)