Refactored MetroPlugin loader for possible initialization order errors.