Get source location tracking working. Short-mode keys still need a bit of work.