Get rid of some static variables and cl->dump usage as they are not threadsafe.
Changeset view not shown, since the total size (1.2 MB) exceeds 976.6 KB