Move ascii-table rendering code to its own module.