Fix change node position
Fix threads
Show energy statistics