Implemented templates_debug_processor and data_debug_processor
Made housekeeping of the number of records per type more efficient
Fixed erroneous use of 'original' template ID (versus 'template ID')
Implemented padding support