Fixed node mode again and related memory leaks / errors
Merge branch 'memory' of https://github.com/pilight/pilight into memory