app: Improve queueing and processing