added permalink fixes! and defensive audio player!