added support for hidden operators and added colors to preview