NOTE: Added support to save and restore the last view settings of a project [Micheus]