adding textbook MessagePanel class and base of 17.1