Fixed error in GUI thread accessing empty queue

Also got get direction method and add to queue method working.