Made the call-history signal the changes first, then do some cleaning later -- fixes a crash on clear