added active property to entity properties, fading inactive entities on canvas
adding double click to insert entity and fixing some code