Initial Python3 port
Overhaul client settings grab