NOVAD: Fix segfault, change error to CRITICAL and exit() if no training data