fix a misunderstanding double free
handle signals in kplayer so we can escape cleanly