Upped minimum urwid requirement to work with Python 3.x
Fix bug in thread that caused errors when exiting before the thread finished.