Added live preview feature.