Remove a redudant wclear in print_snake. Add pthread_exit. Rearrange pthread_join. Remove refresh at the end causing problems when game exiting.