moved .app file
fixed rejoining after worker crash;
replaced worker state tuple with record;
minor fixes