refactored OutputManager, and fixed a bug in the add_element_as_row method (detected it as a result of merging the two different 'add rows' methods into one). The bug occurred if we had two tracks and one of them contained values that were stored as a list.