Improve the install helper

- Don’t attempt to render slides without images
- Code cleanup and comments