small fixes;
no need to convert string to int;
add daemon mode for receive.py;