Code cleanup in playlist QUndoCommands and PlaylistModel slots.