Prevent crash in unpacking due to unset variable.
Implement support for X-Failure call-back URL.

Optionally to be called when par2 verification fails, the RAR files have CRC errors or the right password isn't known.
Prevent false positives for encryption detection.

Weird posts with double rar-ed subtitles.
Prevent false encryption messages.

Probably not encrypted when multiple files are in a RAR.
Use default-path in Plush cookies.

Cookies are not port specific. When sending cookies with path=/ to
http://localhost:8090/sabnzbd/ these cookies also turn up when
requesting e.g. http://localhost/apache2 or http://localhost:8080/tomcat and so on.

To avoid polluting the global cookie space, simply do not specify a path
when setting the cookie. This will result in a cookie with the default-path,
i.e. path=/sabnzbd for http://localhost:8090/sabnzbd.
Set pwd to none when empty
Handle server side 5xx problems
Fix bug that prevented multiple sets in one NZB from joining.
Don't pass seemingly "joinable" files to par2. No longer needed since we use a wildcard.

Can lead to problems on Windows due to a potentially huge amount of parameters.
No longer needed since we're using the wild-card parameter nowadays.
Logs in which rar file unwanted extension
Add api for server usage statistics.
Log more info about failure to remove item from History.
In debug logging mode, use Google to determine our own IP address (IPv4 and IPv6).

Helpful for diagnosing troublesome setups.
Allow "nzbname" parameter with just the password (like "/password).

Works also in AddNZB dialog.
Improve "unwanted extension" text.
Remove special URL handling for nzbclub indexer, no longer needed.
Sort queue on now visible name instead of original name.
Prevent crash when Windows SysTray function hits PyWin bug.
Fix for "Range" selection of queue.

Not a really good fix.
The code looks identical to the code for selecting files within an NZB (in config.js) , but it has some subtle error.
This is a fix which will work reasonably well.
Should be fixed properly later.
Change renaming of duplicate files from file.ext-->file.ext.1 to file.ext-->file.1.ext

Works better when encountering multiple rar/par sets with identically named files.