An investigation reveals communication failures and tree management issues as key factors in the crash that damaged a ScotRail train but caused no injuries.