Fixed directx reference counting leak in DebugMarkers.
Added com leak tracker to directx module.
Added ability to destroy a singleton instance manually.