Fixed insertSlide. + naming and other small adjustments