Fixed most errors caused by pi amangement interface actions, and setting up a machine from scratch works well now.