Updating whatsnew.txt
Re-organized the way the database handle is created and closed, to deal with an 'invalid MySQL resource' issue