Added picture gallery code.

Fixed tabs and spaces in main files.