Fixed factor levels and labels for Project License. Code cleanup.