layout fixes and histogram adapted for live viewing mode