If you want to stay focused and track your time I built Tomatoes[0]. It's a pomodoro technique timer and a time tracker. It's web based, it's completely free and open source[1]. I built it when I started freelancing and I was in need of both a tool that would have helped me to be productive and to track time that I spent on clients projects.
[0] http://tomato.es