Fixed the rest of the screen output writing format.

Fixed the rest of the screen output writing format. The CP and CPPIMD parts might need a test.