Yet another idea. Have an option to all the slide environments which says that this is the "lastslide"?
Nah, too cumbersome for the user.
-Hendri.