ActionFinish in the API

Last mile of the ActionFinish function to the API
[stuff below] so I'm not sure we even need `whichUnit`, do we?