Don't release the smart COM pointers to fix crash

-the smart pointers handle releasing themselves : )
-random code cleanup