Cover `this` up

Go over all the code and in all the functions where `this` is used, assign it a name.
Had multiple `var` statements.