It sounds like you have two problems: one long-term and one short-term.
Long-term problem: Comparing yourself to others. When done in modest amounts this can be a huge source of inspiration. But taken too far and it becomes a sure path to anxiety. Beyond that threshold the only person you should be comparing yourself to is the "you" from yesterday.
Short-term problem: Sounds like you have an addiction to distraction. I suffer from this also and just started reading this[0]. Too early into it to tell if it will help but so far it looks promising. I've also found the Pomodoro technique helpful.
Long-term problem: Comparing yourself to others. When done in modest amounts this can be a huge source of inspiration. But taken too far and it becomes a sure path to anxiety. Beyond that threshold the only person you should be comparing yourself to is the "you" from yesterday.
Short-term problem: Sounds like you have an addiction to distraction. I suffer from this also and just started reading this[0]. Too early into it to tell if it will help but so far it looks promising. I've also found the Pomodoro technique helpful.
[0]http://www.amazon.com/The-Distraction-Addiction-Information-...