Fixes #14: implemented per-platform queue.