Some more work on ratings

They can now be displayed based on the database, but not inserted. The
code might explode.