1. To-do list. Come up with 10 things you want to accomplish on the project tomorrow. Keep them small, so they're 20 minutes of work each. When you wake up, you have some direction, and get a sense of accomplishment as you check things off. Since they're quick to finish, you can convince yourself to take care of one 20 minute task before playing a few rounds of Counter-Strike. Waking up, and thinking, 'Uhh, I really need to finish this project', is overwhelming, and you don't know where to begin, or even want to think about it. Write your to-do list for the next day before you go to bed. Just sit down for 20 minutes, and think about a small step you can move forward.
2. Take a break and focus on other hobbies. You don't need to think about your project 24 hours a day. No, seriously, you can take a break. Here's the situation. You have work to finish, so you convince yourself you can't take a break and leave the computer. At the same time, you don't want to think about work. So, you end up browsing HN, Reddit, and playing games the entire day. In the end, you accomplish absolutely nothing, didn't enjoy yourself because in the back of your mind you're thinking, 'I should be working', and you don't even feel like you took a break to begin with. Set aside some time for a break. Pick an hour, and watch a movie, or go to the park next door and play with your dog, or work on something hands on around the house, or do some exercises or meditation. When you dedicate a particular period of time to take off, you can actually enjoy it, without feeling guilty. It's a good way to clear your mind. When you write your to-do list, choose the times you'll break the next day. Don't make your break HN, and get off the computer if possible.
Anyway, good luck. I'm in the exact same position, 95% finished a project that's been going on for well over a year, and trying to get things wrapped up.