Help Menu works

Also moved it so that the database connection is not attempted in the
case of quit or help commands.