Support pulling from the dynamic queue endpoint. Make sure that images are being removed from contention properly. Rewrite the frontend code to be more modular.