Added low level memory pointer
Added WeakReference for _exportedPins

When Dispose is not called manualy, it will never garbage collected,
because _exportedPins holds a reference. WeakReference will change this.