Livingston made it seven games unbeaten with a victory over Queen's Park at Hampden, but they were made to fight right to the full time whistle by the Glasgow amateurs.
With central defender Ewan Moyes back in to replace Cammy MacDonald, the Lions dominated the first half, fashioning a number of scoring chances in the wet conditions.
Both Winters brothers were lively in attack, while skipper Liam Fox had a couple of decent long range shots, but the nearest thing to a goal came in 27 minutes when Keaghan Jacobs' effort was cleared off the line by a Queen's defender.
Jacobs was not to be denied his third goal of the season though, and just 70 seconds into the second half he finished off a majestic passing move involving Fox and Robbie Winters by beautifully shooting high past Hamilton from 15 yards.
The one goal lead was fully deserved at that stage, but Livi failed to capitalise on a couple of chances to score the second goal shortly afterwards.
That gave Queen's the chance to fight their way back into the game, and after a couple of minutes of sustained pressure, they produced a 61st minute equaliser, Paul Quinn heading Barry Douglas' corner emphatically past McKenzie.
In climbing to the top of the table, Livingston have shown character and resolve, and they did so again by restoring their lead within three minutes.
Unlike the first goal it was a scrappy affair, Ewan Moyes getting the final touch amid a penalty box stramash.
As the clock ticked down and the rain fell on Hampden, Robbie Winters twice had good chances to put daylight between the sides but failed to do so, making the closing few minutes relatively uncomfortable for Livi.
Yet despite the efforts of Queen's to press forward, they held firm to secure all three points and cement their place as the Third Division leaders.
Queen's Park: Brough, McBride, Walker, Capuano, Little, Douglas, Quinn, Holms, Quinn, Carrol
Subs: Sinclair, Black, Daly, Calder, Dunn
Livingston: McKenzie, Talbot, Griffin, Brown, Sinclair, Moyes, Fox, Keaghan Jacobs, Halliday , D.Winters, R.Winters.
Subs: Kyle Jacobs, Malone, Watson, McNulty, McDowall