Text optimasation + RefreshAll function + renamed ColorText to SetImageToPictureText
Event handler for Exit button finished