Major bugfixes

CPU is fully working