Manage CM focus + fix pb with CMResources.