Automatic hexbinning

Also fixes the refresh bug for point layers