fixed binning problem with este plot (and cleaned things up a bit while I was at it)