DataManager progress.

Implemented a bit of playerLoggedOut, and some fixes.