Cleanup and move lighting code to glhck