implemented color setting; fixes