Now generates messags and displays them
next I need to make it so that the message buttons work and fix the way the frames are displayed e.g. make them uniform.