tokenize function is replaced to split_string.
some fixes in CSS parsing.