Improve Options->Connections port management to avoid unnecessary closing and re-opening of ports.
On Windows, perform simple test of OpenGL functionality before enabling globally.
Merge branch 'master' of github.com:OpenCPN/OpenCPN