The third commit

Many changes:
- Fixes many bugs.
- Have written a lot of checks.
- Added editing events.
- Added removal events.
- Different effects.