Fix for pictures.
Code against duplicates.
Empty list for links.
Completly rewrite all this bunch of code. Architecture somewhat changed - new function for downloading
pages, regexp-replacing and massive refactoring. This code can work at least now.
Remove useless regexp.
Pack of comments and visual fixes.