Added some minor changes to photo gallery and chat app.