table headers fixed, closes #26, also closes #19