removed too long licence statement
Changed some debug messages