now shows error message if no freqs added to algo - no more hanging
now shows error message if no freqs added to algo - no more hanging