I call the removal function whenever the user presses a certain key. Calling it once seems to delete all the molecules (unless I called it multiple times unknowingly). I put the wait(1) instruction because otherwise, the entire app freezes the moment I call the removal function. I'll try out your code now and report back.