remove unused vm context code
switch from sys.print to process.stdout.write