Gui now has popup windows for relations using the tableview stuff.
Fixed a minor bug in console where the home key didn't go to the proper place.
Fixes escape in the gui part.
Cuts off when there is too much output in the gui terminal.
The tables in popups are now slightly prettier.
prepared for sorting columns in table view