Fix (Communicator): Prevent downloadCompleteQueue from leaking into window scope

This change closes a bug where the `downloadCompleteQueue` was getting leaked
in to the window scope. To fix this, a reference from `self` was changed to
`this`. Since it was tied to clearing the caches, this fix doesn't introduce
a backwards incompatible change.

Includes whitespace cleanup.

Fixes #309