Fixed a ratio bug as well as adding brightness control.