I have run into a problem where the output gcode does not match the profile.
I have noticed an issue if I open a factory file that is saved with a profile that uses a Sailfish-based firmware and then delete that profile and put in a Marlin-based firmware profile, the output gcode still uses Sailfish-based commands.