adding statusText box, accessor for constants.state and removing old state stuff