Unregistering OpenGlControl's events when i'is removed from visual tree, to allow GC to clear memmory and stop rendering loop.