PaDE: memory leak fixed. Debug: removed the use of a potentially harmful define