Get a drum machine and play against the drum machine backing frequently. This will straighten your timing without fail. Timing is, IMO, the one thing that separates the accomplished from the beginner guitarist. You are right to focus on it.
If you don't have a drum machine, download fruityloops software (shareware is save-disabled and works fine). highly recommended.