Added handling of opening/closing unknown candidates.
Implemented frontend for ratings and fixed a few issues on the backend. There are still a few nasty bugs left...