Callbacks onOpenCData/onCloseCData/onCData are now mandatory for a recorder. Refs #7
Minor changes to examples