Various fixes and improvements to lighting

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>