updated ticker function

added a the unix clear command as an alternate, so this can run on more operating systems.