https://code.google.com/p/pidgin-sendscreenshot/ with own bug fixes