Just a quick note on 'back emf' diodes
When an inductive load (relay, coil, transformer, motor, etc) has the voltage removed, the flux circuit generated by the windings, attempts to induce a voltage in the coil that initiated it (thats how a transformer works).
This collapsing flux field generates a reverse voltage across the coil, which can be twice (or more) the original voltage.
The reverse biased diode effective dumps that energy spike back into the coil which cancels it out.
You can also place it across the transistor/fet and the supply with its capacitors is effectively a short circuit to the spike of energy, so it will have the same effect.
It's not as good, but will work if required.
So for any loads that are inductive, add a diode to prevent damage and funny things happening.
While you are there, ensure you have added a 0.1uF capacitor across the supply as close to the inductive load as possible to help remove anything that does get onto the supply line.
Mark