Add error pop-up if device is malfunctioning.
- Reuse PortAudio code but make it more generic
- Make the window appear sooner
- Don't set a device to not be malfunctioning just because we've given up playing a tone on it
- Make the window always on top so you can actually see it