The white slimy stuff that sometimes appears is called albumin. It's a protein that solidifies as salmon cooks and is referred to as curling. While it's harmless and can be eaten, it doesn't make for very pretty fish.