tuna: overwork and clean up lights.c

thanks danny

Change-Id: I498892a93ea8524d167e06a1d422d33e04803aa4

Conflicts:

	liblight/lights.c