I was pretty frustrated with the Lost finale, until I read this article.
Supposedly written by one of the writers of Lost, this explanation makes perfect sense to me, and makes the finale seem like a better episode. It's long, but it's worth reading...