Commented most of the code, fixed thread problems, PC counter now updates in the rigght way.