Revision 6392 introduced automatic session management. Not sure what it means, but I think it is reason why I see some of my programs having two instances after reboot, if I have not closed it before the reboot. So, how to handle this? Can I disable the session management with some code? Or do I need to write instance counter? Jussi