Lots of documentation and layout fixes.