Tweaking it to compile

I just rearranged things a bit to naively re-assign the editable handler function pointers.  I don't have a good setup for testing this quite yet, so I don't expect this modification is perfect, but it did compile! :) 

I hope this helps!

Thanks,
David