fix selectorTextHTML bugs, minor css fix