Added some comments.
Added many comments.

Commented a little more than half, and I added  a cofirmation window for
deletion, and I found a possible issue, but I put it in the github issues.