Changed logging to rolling logging to limit the size of the logs
Added script hooks for audio and video end
Added start at, stop at and loops to videos