Rework some table stuff

* Define table by number of rows rather than row height
* Draw ruler on bottom of repo panel
* Prettify