Fixed some bugs in the client settings

Preventing a directory not exist fail when launching new clients.
Cleaned up imports.
Fixed logging.