Also who is the moron that came up with the smart idea to built a long narrow gangway perched across a wide opening over-looking a drop into the deep abyss below and then not put any protective railings on both sides of it nor afford it with enough lightning for safety?

These are just the ones I can remember off the top of my head and I didn't even go look for anything similar in the prequel trilogy.

I didn't include the abyss Luke dropped into, after losing his fight to Vader in The Empire Strikes Back, because that was Cloud City and it was not built by the Empire.