connect MaxLabel slot of opTrain
Merge pull request #235 from ukoethe/master

fix #121 and #127