PCMPlayer:  Add SelectDevice and fix hang

SelectDevice syntax changed and implemented for GUI
When output device isn't actually playing, background thread can hang in
while/sleep loop in writeAudio, so add check to Playing flag to allow
stop to work.