Reduce compiler optimization and revert other changes

Stability work again. aaOcean seems to be vulnerable to aggressive
compiler optimizations. The compiler optimization issue also caused me
to revert previous stability-oriented fixes that benefitted UI
stability, so I’m putting those back in again to see if they hold up.

Finally, aaOcean has some weird ideas about resolution handling.
Modified to perhaps be more sensible. Ignore the mutex inclusion - it’s
not used and will be removed next commit. doEverything() may be removed
from the aaOceanClass (I added it for threading triage back in the
beginning) if things hold out.