Refactor EntityList and EntityTickProfiler, fix NaN/Infinite values being formatted incorrectly, fix ticks being set too high when profiling multiple worlds.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>
Change profile/sleep order in EXAMPLE.lua

Signed-off-by: Ross Allan <rallanpcl@gmail.com>