Rename lock in cefBase. Register a destructor for resource handler so we
can clear our maps.
Add a couple more settings.