Improve/Simplify brightness (F6) popup window logic.
Correct for some invalid ENC encoding, and log all S57 Warnings and errors.