Missing end in export_txt. Added bottom border.