fixes issue#2 (colors), and finishes fixing problems with flags (associative array issues)