Restored character creation that was broken due to some logic errors cause by shared_ptr refactoring