changed color coding algorithm a bit
switched color coding a bit and changed command line options: write html is default