Version bump to 1.2.2
Added catch for very rare empty queue exception
Merge branch 'dev'