Rendering tables. Hard-coded table HTML so far. Plus I don't like the "compact" parameter passed everywhere, but I don't have better ideas (yet ;) )