To keep your Mac running at its best, a restart often helps to set things straight.