debugged on init functions, updated thumbnails