Merge heading and error into lists. closes #16