Fixed a call to GetWindowText that should have been a call to GetWindowTextA.