Improves debug mod enabling + fix session storage for shared hosting on OVH
Fixed photo count on main page