What's wrong in my code for setting up entity title in a Computed Field?
You can't do it all in the first box.

Use the Computed Code box to create a value for the field in $entity_field[0]['value']. 

Then use the Display code box to do something with this value.