Implement NSBCreateThread and rewrite interpreter to support multiple script threads.