Fix kill threads, add message panel