Kasey McAteer put Leicester 3-0 up against Preston, moving them to the brink of winning the Championship title.