Bug fixes with database-related code and with a menu.