Fix profile.cpp regcode bug

Wasn't sending the registration code, now it is. Also got some work done
on sending the list of games.