Only solve one new problem at a time
As a general rule, successful programmers have been doing this forever:<p><pre><code>  - It works. You added 2 things. It doesn't work. Which thing broke it?
  - It doesn't work. You changed 2 things. It works. Which thing fixed it?
  - It works. Two people changed it. It doesn't work. Who broke it?
  - One donut left. 2 programmers went into break room. No donuts left. Who ate it?
</code></pre>
Now change "2" to "1" in all of the above examples. See how much easier?