Just want to quickly mention a tool I have used lately. It helps me to spot time wasters and is motivating. It is called Rescuetime and is an application that tracks your activity during the workday. You can set up rules on what activity is productive and how much for the different activities.
Each week you get a rapport sent on email with a summary of your work. You can also see rapports by day/week/month by logging into there website. Really informative, check it out.