cleaned up html files
added some debug output