improvement to download of charts, and added miles/knots. database is now opened for every transaction