Added array named history and code to add status text to history.