Fixed spelling mistakes and neatened comments.