Refactor code a bit.
Initialize viewer when creation of new recording has succeeded.
Get slide URL from slide object.