The era of coal is effectively over in Scotland, but stories of communities where collieries stood at their heart are long from being finished.