Merge pull request #23 from am0d/css

Output the HTML with links to a single css file.
Fix up the css handling somewhat