LightRS: various fixes and tweaks