Reset screen before printing final output