Catch occasional problem with docking AI frustration

Requires station to be destroyed at inconvenient time.
Revert directory creation on Windows
Fix some variable-defined errors in priority AI