added helper macro for unregistering by pointer (and differentiate unregistering by name)
amended cvar test to unregister by pointer