NaCl: Various bug fixes
NaCl: Implemented game API
NaCl: Use an environment variable instead of an argument to pass the root socket handle