More comments, a bit more error handling, the proper source header.