I don't think even more tech will resolve your issue. Everybody is different and I don't know it will work for you but what I have done is:
1. Find a job were I work on challenging, engaging projects. If your mind is wondering off, chances are you have a really boring job. Find a better one.
2. Get quiet working conditions: eliminate distractions, shut down email, IM, put phones on DND. If something urgent comes up, they'll have to come over in person. If your job requires constant distraction, either train yourself to handle the quick context switching or find another job.
I think this TED talk is relevant: http://www.ted.com/talks/jason_fried_why_work_doesn_t_happen_at_work.html