Made entity creation/activation/destruction deferred (closes #118)