Put upload into separate function.
Merge branch 'master' of https://github.com/Puut/Puut-Win
Made declaration of variables nicer.
Added method to capture rectangle for upload.
Putting new upload image link into clipboard.