Simplified communication between script and worker, rewrote some of the engine test suit to allow to check position evaluation. Also added some throws to catch bugs