improoved bug messages and the program name