fix variable root scope color bugs. closes #22, closes #26