Added sceNpBasicGetFriendListEntryCount and sceNpBasicGetMessageEntryCount

Fixed sometimes functions being unloaded when they shouldn't. (hopefully)
Also reverted the SPUThread hack.