Add WorkbenchReferencePolicy
Try to restore editor when dereferencing
Fix selection processing on editor close