Revert previous commit and cleaned up client frame

Approach was flawed. Added comment about correct approach in
syncToLatest.
Cosmetic changes
Removed unused function and updated doc comment
Fixed a bug where entities were leaking components