add check for int in escape codes
print -> stdout.write
STD_* variables to wintypes.py