(autopeak.py, flatfilts.py, hooke_cli.py) various error checkings