Open disk menu: Get the label only when it will be used.

Also factorize the code.

This commit fixes #3478.
Try to make external filters unloading less aggressive.

This commit fixes #3345 #3468.