Fleshed out and rewrote some code

Fleshed out HandleCharacterNew() and HandleCharacterDelete(), and rewrote
HandleSynchronize().