master.py: added global logger
master.py: drop to pdb shell on rpyc connection failure
master.py: idle factor changed to a more realistic value