Remove unused RunLocker and related code

RunLocker was not used anywhere, and was the only instance of the
WriteLocker class.  Remove both.