add database dump (dbdump.sql), other small bug fixes