[ ] Add a config file
[ ] Use a better filter than a simple median, maybe a kalman filter
[ ] Add a way to customise the brightness curve
[ ] Automatically detect backlight device, or at least make it configurable
[ ] Add signal handlers
	[ ] SIGUSR1 to reset the user offset
	[ ] Handle kill by closing all file descriptors
