New "fill curve" option for histogram; general code clean-up as well

I'd wanted to do this previously, but was waiting on the implementation
of a general-purpose GDI+ line wrapper.  Thanks to RR for reminding me
to revisit!