Rejig Hooks to Properly Enable Save Hook

Previous version called on_save way too late. It was impossible to use
it to save data coming into the metabox. Rejigged it to be processed
much earlier and it works like a charm!