added plugin exceptions, added pre & post event for data items
added debug information for data items