improved code

Moved out last of color spaces, made hide segmentation boxes function
la til gitignore
kommentarer