Fixed queue bug

Started work on ai movement