Add option to train until convergence, add test, make difference between train length and train quality, minor fixups.