In the end, it turns out that the real killer is Harlan Rook, a schizophrenic and deranged fan of Swan who thinks his ideas and work have been stolen by Swan.
In the end, it turns out that the real killer is a deranged fan of Swan. He is Harlan Rook, who thinks his ideas and work have been stolen by Swan.