Cleanup, emit an error if setting/clearing no_freeze/global_freeze at once