Fix URI handling and add options for adding additional stylesheets. (closes #2)