a lot of fixes from slava for ajax issues, buddypress and slideshow issues..