Turing Complete: Refactoring patch complete

This patch completely reworks how simulation of schematics work. This should increase simulation speed, fix random crashes from a memory leak and a race condition and make UI components work in fast simulation mode. Thi…