miniSim: added color blocks. Lots of small improvements.