Fixed a bug in print_sample3.html that caused tools to be active with more than one message showing.