[simu] changed mutex to ERROR_CHECK
[todo] reviewd and added in code tasks
[widget] increase comments, and added visible property.
[widget] Drawing mechanism changed to deal with limiting canvas size inherited from ancesotors dimension