Moving the LM317 from heat sink is a good thing. It only helps. For the heat sink shown in post #30, I would not push more than 1.5 watts thru. If you put 5 watts thru it, you will most likely be melting stuff.
-A rule of thumb is that you need 9 square inches of surface area per watt of...