Fixed the -Q option and moved a useless localdb call elsewhere

Signed-off-by: Kwpolska <kwpolska@gmail.com>
Many fixes and changes to docs.

Signed-off-by: Kwpolska <kwpolska@gmail.com>