KiCad 5 footprint editor: what are the "Set grid origin" and "place footprint reference anchor" buttons for and how/when/why do we use them?

Follow-up question: Pcbnew/footprint editor: How do we use the Grid 1 / 2 "Fast Switching?"