Fix up the css handling and rfx loading somewhat