Fixes for CSS parsing/theme updating