Finished printing CPU to screen, some other random stuff

added global variables, fixed printCPUToScreen, added it to console