Thanks for playing, It wasn't a bug but the key card is a bit too hard to see, it was actually right next to the key you picked up in the doctor level, there is also another ending you can get by replaying and going down the other train track. Regardless thanks for playing glad you had fun!