Remove ignore_permissions.
Mass formatting autofix.
Fixing some things that weren't thread safe.
More import / formatting cleanup.