Maybe fixes bug in displaying notifications with no photo attached
Game ends, and allowable views and actions change for different users. There are probably some small bugs, since there are so many cases.
Some styling. Indices added to foreign keys.