Changed some comments and reviewed the code.