Compute percent widths/margins properly and fix numerous small visual layout bugs.
Fix padding
Vertical margins now contribute to content height.