- Some bugs were fixed.
- Added comments.