working recording (set gui config flag)