[geany/geany-plugins] daf789: TreeBrowser: Fix various runtime warnings and memory leaks