Added queueing to cut down on duplicate library loads.