I'll just add a hard cap on the number of atoms you can buy at a time to fix the lag, but can you tell me more about the "atoms escaping the room" problem? I just use physics 2 for the walls and everything inside of it.
Again, this idea is the result of a consultation between me and someone else, and it was so out of the left field that I have to make it into reality.