Thank you mid for explaining and confirming what is happening. I think I've managed to sort out most issues. But if I want to evolve the game much further, I'll have to reconsider the framework, which would mean a full re-writing of the code - at least to maintain a Web version... not sure I have enough motivation to do that just right now, but at least I'm warned ;-)