Working fork prototype using mock queue. Polish needed.