Fixed hanging compiler process.
Implemented showing the number of submission to be processed in the queue.
Fixed getting submissions in queue query.