Implements NanoUI for APCs

Primary changes:
- Implements NanoUI for APCs.
- AI can toggle the APC lock for human access.

Changes to the NanoUI code:
- UI tracking datums are now transferred along with minds to prevent them from becoming unresponsive.
- Focus is returned to the game the instant a NanoUI dialog opens.