tpt++: make sure soap doesn't crash when messed with in the console 2140beb9ccf0
add elementpopulation debug thing from tpt++