RF marker_gui:  separate model from GUI