fixes to priority queue, initialize seat locks, and other fixes