Optimizes entity management in ImGui by deferring updates to the entity list until necessary. Changes include: - Sets the entity list as dirty upon adding or deleting entities to ensure the list is only updated when needed - Changes the type of entity ID stored in CachedEntity - Adjusts ImGui window size