More Minor pAI bugfixes

- Closing a pAI turns off resting.
- Wiping a mobile pAI now works correctly. (Probably want to fix being
able to do this in the first place)