Replacing participant.status with new state table (completed)

Implementation of UI elements.