Use const ref in signal.
Use selected dirctory for recording and playback (issue #81).