windows: fixed a bug where an extra null terminator was added to every string
windows: fixed a bug where name and title were interverted