Use actual buffer size in win32 textfit()s

Stop using hardcoded 65536 buffer size,
risking buffer overrun due to unicode quirks,
or underrun for strings longer than 64KiB.

Pass real buffer size we were given instead.
Use UI_STRING_ID for curr_id in ui_i18n.c
Add a couple of comments