Minor cleanup
Add more validation for notes used as training data
Fix minor error, and temporarily limit number of training points