added 'purgeQueue' method that empties the queue and stops all pending load operations (closes #395)