Ah ha, it was the [itex]\frac{\partial }{\partial \dot{q_j}}\frac{dF}{dt} = \frac{\partial F}{\partial q_j}[/itex] that I missed. That got rid of all the 3rd order derivatives, leaving only 2nd order one's which all cancel each other out in the end. Thanks very much for the help ehild!
