Few fixes and improvements to gallery workflow previewer