Bugfixes for the *:Invalidate*Cache() calls.
Fix cppcheck warnings.
Spawn processes asynchronously.