Clean up templates and put graph CSS in <head>
Split LineConfig so punchcard can share.