perhaps a large part of it had to do with the invention of the electric light , which had killed the shadows in men 's minds much more effectively than a stake through a vampire 's heart - and less messily , too .