save and restore window position
read head file for version id