Add live-preview documentation and fix some minor problems