Fixed queue defect. Added priority.
Merge branch 'master' of https://github.com/emenegro/toast
Several refactorings of code.