Some renaming. Added brightness option to StateUpdate().