Remove explicit ref counting, use shared_ptr instead
Furthermore, shared_ptr
is implemented thread safe and lock free on x86/64 platforms.
And this should also fix the delete this
suicide pattern that is used in many places.
Edited by Samuel Debionne