add set window caption back in

the stack corruption was a problem on my end. I used the wrong dll.
things work, now