Patch for buffer local underline position variables. I ended up making underline-minimum-offset buffer local capable as well.