Don't crash with missing optional args to css

Basically a rewrite in haskell with some custom database stuff for bookmarks: https://github.com/dylex/huzblem
I suspect I'm more the exception than the rule. I know at least one other person who was using the stock daemon at some point, and I bet most people use it as is out of the box.