Added events to random generator, fixed coloring in CommitmentView