Changed how interrupts work. They now use a "finished" flag set by the thread. Also fixed more bugs. We're almost at a fully working simulation!