Lines below headings and image borders

This will implement lines below the major headings (same ones as in the old style), and puts a border around images.