cleanup AbilityEditor code