Removed multi-threading from table formatting

Converted the formatting of tables to use iterator methods instead of a
background thread. The effect is the same, but exceptions make more
sense to the user.