This version apparently fixes the situation whereby when pdmenu loses it's tty, it runs away with the CPU. Many thanks to Joey Hess (the author) for his quick response.