Added a form to save data needed to display the viewer in order to avoid to calculate them each time.