fix double mutex unlocking in presentation_thread()
use cond_mutex to avoid broadcasting condition before it initialized