Added more debug messages with display_msg()