Quantum Trajectory Surface Hopping - Theory And Its Inner Workings