I followed the 5 quick videos too...watched them over and over. It's a very rewarding job once complete!!
Advice:
1- take your time - beer is your friend here
2- after you remove the glass and front and rear panels/pieces....do one side at a time. This way you can use the other side as a guide to help you.
3- you should 'see' the issue that caused the cable to pop out...it's snap-on plastic piece with one screw. Problem is, it needs 2 screws so drill another hole and find a shallow screw to secure the plastic back on the car. This should prevent any future issues
4- once you are finished with the cables, slide the sunroof tracks forward toward the motor manually. There is a gap (cutout) in the track where the rear (white in color) guide should rest. Do both sides the same. Plug in wires to motor and then mount the motor. If you have done it correctly (without the glass mounted) press the 'up' or 'tilt' sunroof button and the rails will lift upward. This also synchs the button to the cables. If this goes well, then mount the glass back to the rails leaving the screws fairly loose. Lower the sunroof and adjust the glass to match your roof using the six screws you just did and that is it.
4.5 Once more thing...when reinstalling the rear rain drain...its rubber and mounts to the rails...when removing you must pry this out and this is shown in the video. However, when reinstalling it just lays on the rear and the male sides go the hole on each side of the rail. There is no snapping or mounting...it just lays there. This caused me a lot of time trying to figure out how to snap this in place. i cannot explain why it snaps out and doesn't snap in.
5- Good luck and shoot me any questions.