Added multiword terms matching with chunked regular expressions, fixed tooltips generation