Fixes to the join and cout code. The playername.ham example now works.