Please pull from branch savemode to save the mode on exit

Save the current demodulator mode; load the last demodulator mode on startup.