Fix weird printing problem.

Rumble fd was not initialized, so would print weird things to
stdout if no joystick attached.
fix threading problem with gtk/gdk and portaudio