fixed timing issues when calling 'purgeQueue' and 'loadQueue' in succession (closes #429)