Replaced Timer with vanilla Thread and timed Queue

The timer based threading was more complex and had some issues handling keyboard interrupts. So replaced with basic threads with a queue that is filled every n seconds.