[net] fix an exception in DownloadFile()

* As per the MSDN, HttpOpenRequest's 6th parameter should be a NULL
  terminated list
[ui] improve checkboxes handling

* Closes #294