Overhaul the lldb locking model. Updates #51.