minor amount of code clean up.. general housekeeping

* there was one bug:
  the code that was used to determine whether the checkboxes
  on the download dialog were checked or not.. always returned true;
  that's fixed.

* aside from that.. a few fixed typos