Unregistering events when commander is disposed