allowed relative filepaths for css files in themes.  Also removed some unnecessary code