Added timestamp to comment, added missing unique constraints, fixed
things.