EMI: Improve pause handling

This fixes two problems with EMI's pause handling:
1. Frame time is not stopped while the debugger is open. Executing LUA lines like "guybrush:walkto(1, 2, 3)" are executed instantly when closing the debugger because the frame time is counted since opening the debugger.
2. Frame time is not stopped when pausing the game. Actor chores continue, and cut-scenes keep on running until the next script line.