Tone player in separated class + MainWindow cleanup