Update.

- Cleaned up code.
- Updated version to 1.7.2.
- Tested and working with 1.7.2.