To stay focused while working on an arduous task,
work in short spurts for ten minutes at a time and take two minute breaks in between, using a timer to track it.
try to knock out all of the work in one burst, without any breaks so that you have something to motivate you.