Animation layer blending

I put walk animation on Action actuator on layer 6
I put run animation on layer 5
How can i make them blend better without being too snappy, i also get this
bug with layers where after i walk and run and side step it will constantly
play a side step animation over and over, even though it`s on layer 8 :s

Well, I don’t know how animation layers work. I have never used them. Just animation types, the blending option in player and priority!