fixed async gui locking issues