The attached patch implements these changes, please see the patch comment as it contains all of the pertinent information. If any brave volunteers would be willing to test this patch locally before I apply it to the Org-mode git repository that would be greatly appreciated. Thanks to the test suite the most egregious bugs introduced by my first version of this patch have already been caught and fixed. Cheers -- Eric