Added message display class for handling errors etc.