Add set/get PTT functions.
Various fixups.