I have an idea to relate back to your story that is related to a book I recently read called The Gap and The Gain. It taught me about appreciating what I have done rather than comparing where I am with my ideals. I also have several ideas that relate to the issues that you address. For instance, getting stuck in an online game. Mine was FreeCell. I was so badly addicted that I avoided everything else. Another is getting housework done when I'm not motivated. Another thing I would suggest to you is getting away from the computer several times during the week. Perhaps you could help garden in an allotment two or three days a week or even just go for a daily walk. Finally, you only have 24 hours in a day. Give yourself a break. You're only human.