More intellignet shutdown

Check every second by 5 seconds then kill if need.
Update stop.sh

Check every 0.1s that daemon is closed, kill it after 5s
Do not destroy context if socket test fails
PEP 8 fixes
Effing indents.
Indentation Fix
Update stop.sh

add usleep
OS-agnostic browser start.

* os.uname doesn't work on Windows.
Simplify protocol specification.
Merge pull request #597 from Renelvon/os_agnostic_browser_open

OS-agnostic browser start.
Merge pull request #566 from Rav3nPL/patch-3

More intellignet shutdown
handle bad database files better and notify user

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Treat disable_open_browser as a bool.
Package main for ease of use.
quit on gpg error

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
add message to use stop.sh script to stop daemon

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #599 from Renelvon/disable_open_browser_fix

Fix processing of CLI argument "DISABLE_OPEN_DEFAULT_WEBBROWSER".
Merge pull request #598 from benemorius/ux

ux improvements
[FEATURE] Fix error with self variable

[FEATURE] Space after , self variable
[FEATURE] Fixed wrong continued indentation.

[FEATURE] Method could be a function (no-self-use)

[FEATURE] Method is a function (no-self-use)

[FEATURE] Method is a function (no-self-use)