Liblights cleanup