Updated to call update() to save logbook file each time an automated upd...

...ate is made. This protectes against crashes of OCPN.

Also updated to work with 2.8 of wxWidgets