Changes for running multiple DcmEmulator instances in same computer