add proper entity_table save/load
cleanup
add full Lua system auto save/load support