Fix connection errors & QOL changes

Fix null pointer exception.
Update debugging and information logs.
Add disconnect and quit functions.
Add base UUID and secure UUID.