simplify the end logic with queue(null)
simplify the end logic with queue(null)

ElNounch/insert-module-globals,ElNounch/insert-module-globals,maxogden/insert-module-globals,substack/insert-module-globals,apihlaja/insert-module-globals,apihlaja/insert-module-globals,substack/insert-module-globals,maxogden/insert-module-globals