Improvement to display frontend preview. closes #4