A historic Elgin church's roof was destroyed by a storm, but its sheltered homeless and wooden interior survived.