Changed tk header inclusion. Tk still crashes with segfault.