clearScreen() now works the "right way" for windows. A possible POSIX solution has been commented out. Will work on later