Detect invalid .nf option and fail gracefully

(reported by kdweeks:
   http://www.pgdp.net/phpBB2/viewtopic.php?p=1000257#1000257 )

(Note: fixes were needed in several other spots than the one kd reported.)