A few very minor improvements.

- Removed a redundant check that had already been done moments earlier.
- Added a few updates to the README, such as updating the broken link to the example image.
- Made a few comments more meaningful.
- Initialized some vars ahead of time so as to not initialize them in more than one place.
- Made some code more readable.