I started with Frazers because they were very easy to trace. A few more bits of information before details of Martins.
James 1st wife Margaret died 1897-
https://civilrecords.irishgenealogy.ie/churchrecords/images/deaths_returns/deaths_1897/05848/4657008.pdfSligo Champion, 8 Jan.1898: It is with deep regret we have to chronicle the death of Mrs. Frazer, wife of Mr. James Frazer (a well-known sportsman), which took place at her residence in Newtown on Thursday, 23rd Dec., from heart disease.
Sligo Independent, 4 Nov.1893: THE POSTMAN AND THE DOCTOR. On Wednesday's list ... action for slander brought against Dr Andrew _, of ... Jas. Frazer, town postman of Ballymote, claiming damages ...
Possibly James-
Sligo Independent, 4 May 1901: ... and local cyclist, in the person of Mr James Frazer, met with an accident whilst cycling between Tobercorry and Ballymote, owing to the chain of his cycle giving way whilst riding down a steep hill. Mr Frazer being of a very robust constitution, we ...