coverity#704809 Explicit null dereferenced

Change-Id: I8febb74648b409e214e805084682d932424252b3
coverity#706394 Uncaught exception

and hopefully a bunch more of those in dbaccess

Change-Id: I5aefcfe56a697f9e6b18dfe167fdd8a4f54ab6e0
tweak massively complicated html export wizard a bit

Change-Id: I1d15780d0128204f063a816df9df251b05ab93d2