decrease queue size
adjust p for breaking
refactor & fixes
Merge pull request #28 from tobiasandersson/master

bunch of stuff