Two missing this fixes.

Accounts for the forgetting of var in first use of a variable (also globals), and checks arbitrary chaining of properties and calls by checking the root of the chain.