widget/textbox: treat the text as unsigned char
simulator: init the SDL after DFS

SDL init would need DFS, which is in rt_components_init.
simulator: include Windows.h only when _WIN32 is defined