 SPOILER: William Shatner (qv) claims to have created the idea of  Spock dying in the engine room, separated from Kirk by a sheet of  glass and trying to touch hands. However, he says that unlike the  movie, his idea was enhanced by the glass being more opaque, leaving  Spock as simply a silhouette to Kirk.