Fix various issues with JACK client.
Make signal source and number of bins selectable by command-line arguments.