I am quite sick of my questions in StackOverflow being downvoted because of the leading "Hello" and the "Thanks" at the end.
That's probably not what's happening. Both downvoting and editing out greetings are relatively common activities on Stack Overflow. It's quite probable that these two had nothing to do with each other.
I always try to write constructive and comprehensive questions with images and examples. Every time I discover an answer I add it to the list, keeping the question updated.
That's great! Keep it up.
Shouldn't a question be considered only for its content and quality instead of stupid frippery like these?
Yes, absolutely. Most probably are.
I don't think that a simple "Thanks" or "Hello" could hurt people or ruin the question, don't you think?
No, they don't ruin a question, and they aren't really worth a downvote, but they don't really add anything either. As such, they're considered unnecessary by many active users of the site. There's even a script that will remove a lot of common greetings, but a lot of less common ones get through and people edit them out manually. It's nothing personal, we just prefer if people get to the point of their question here and leave out greetings, signatures, and taglines.