More robust code in JackPortAudioDriver to handle buffer size change and backend switching.