Well, I think the ending is good, and reasonable. The little girl is a program, and her parents sent her to the Oracle. In the end of the movie, the matrix is restarted, and the girl programs a beautiful sun rise for Neo. Neo will be back someday when the balance is broken again.