AVALANCHE: Add detection. Some fix in console.h.