Don't keep last semicolon

See also: http://www.w3.org/TR/CSS2/syndata.html#unexpected-eof
Remove global flag variable