slight refactoring;

changed windows version from Unicode to ANSI.