In reply to Tudor Timi:
Great, now you reached exactly the same point I was at before starting this thread :) In fact, my current implementation is your second proposal. And for the exact reasons you mentioned, I was asking for a better solution here. Thanks for the thoughts!