Removes padding and restores text alignment.
Restore aggregations.

This also fixes some comments and removes some more browser-specific
code. Captions in aggregations are disabled.