making preparations for worker threads, modified sandbox_t structure
Initial implementation of multi-sandbox support. Currently broken/incomplete