grips-css: fixing parsing bugs, more code generator work