leaflet, redalert.c remove debug, misc fixes