Adds the unit properties
Fixes the new line character
Auto renders the image on property changes
Adds the third parameter for firedEvent