added translation
hopefully fixed segfaults on shutdown
segfault (and memory leak)