Temporal AA sharpening

Its more than 200 lines of changes, so a lot of stuff can have changed there between 4.15 and 4.18.