fix locking for raising window

under windows.
After some work with the ack and hitting some troubles with the callbacks, I thought we can use the lockdir properties to signal the callback and make the 2nd instance aware of the fact that the 1st is alive and operative. I do believe this ends up being functional and simple enough for our purpose.