Add some new hooks in the API (goToSlide, fix various bugs)