Change setFullName in favour of setName.
Fix some bugs with the states.