numerous minor bug fixes for csspretty