Destroy the AUI manager earlier in the shutdown sequence. Prevents the crash on Windows during finishing of some plugin threads.
Merge pull request #160 from nohal/master

Destroy the AUI manager earlier in the shutdown sequence.
Correct quilt region calculation logic
Correct quilt logic for possibly uncached chart.
Correct 360 degree segmented light display (FS#1437)
Improve quilt zoom logic.
Allow extended overzoom on cm93 charts
Correct some line priority rendering logic for DC (no OpenGL) mode vector charts.
Avoid possible NULL deref on image data.
Avoid possible NULL deref on S57 object data
Correct Track tool behaviour.  (FS#1434)
Disable OpenGL VBO for all Intel OpenGL graphics drivers on Windows.  Sorry....
Improve quilt composition logic for special cases such as Inland ENC
Disable OpenGL FBO for Intel Mobile platform on Windows.
Fix drawing of segmented tracks in both GL and DC mode
Improve drawing accuracy of routes and tracks crossing the IDL for OpenGL
Remove unneeded double check of g_pi_manager existence
Correct Complex Line (e.g.RECTRK) priority calculation.
Improve zoom algorithm to allow overzoom on all chart types
Correct potential fault on empty region calculation.