device: implement ColorFill
nine/state: finish constant upload

Even if it's a bit ugly ...