TrainSGA.js RC1, untested as of yet but no immediately obvious bugs.