galleryImage#index margins reduced
remove tmp..
updated gitignore to not include file 'temp'
bugfixes, refactoring