Fixed tooltip to ignore string parameters (ref #101).
Fixed displaying variable instances when code has invalid blocks (fixes #182).