Add command line flag --pad-short-block to control the padding of samples shorter than the block length with silence. Also add diagnostics to show more detail of correlation failure if --verbose is given.