Improvements to the virtual engine and bug fixes to the ECU code