Changed locks in bralloc and kv_queue, changed how single threaded operation is done.