changed textin sdl file
use wchar functions
initial logic for cli version