Css namespacing and perf fixes