Made PopulateMenus() check for EOF while reading, and changed some directory strings to lower case because Unix is pedantic about that sort of thing.