mark broken repos and delete them whenever possible
moved localrpc init before config init to make sure no corruption occours
reduzed heartbeat timeout to 5 seconds
fixed various unicode bugs