Revert back to Tom's math for correct border weighting.
Fix bug (using MAX instead of MIN) - was causing segfaults, and was why previous Nathanael's math failed so badly.
Increase the focus of the support window at the borders. This should reduce blurring a bit, but needs testing.