Fixed a bug where the locked message would appear even though the player had the key. Also fixed some inefficiencies with the particle system.