When you press R, unless you press SPACEBAR after, you are automatically aligned to the movement of your ship, so you won't be lost in endless space. For the second problem you suggested it could be solved like this: as AI works only if you are outside the computer's controlled turret/ship...