more GUI changes and dumping the SQL database