Cosmetic changes to clearScreen() function