Fixed some minor errors and improved the table display.