Data Protector bug fix test second attempt Added dubug support and changed way for category and subcategory assignment  added new debug for event removed null values from local variables