A couple of little fixes and some changes in preparation for the next big release.
Fixed picturebox not receiving focus when it was clicked on
Fixed problem when an area is being selected and the picturebox loses focus
Various small optimizations of the apply text effects code
Moved text to values code into a separate class