Child management

Updated how PEDIT handles and removes children. Also added a function
to the editor object for retrieving child object by ID.