Range checking for Ligjt.on(level)
Merge branch 'master' into dev