fixed crashes when opening projects, fixed reset, fixed refreshing of view