add :planning and :planed states to execution plan; set socket file rights to 600, minor fixes