refactoring, new gui for music mode