Removed double border in tables

Also fixed some minor layout bugs