CoreWM: Refactored panel item modifications