Made leading whitespace more consistent (using tabs, not spaces).
Added support for new color system. Also added a few comments.