Fixed newline issue with print_table

setCursor no longer automatically flushes the text buffer,
so an explicit call to do so was added after each line printed. Same
added to print_form