Fixed callback order for imageStringName and did a little code cleanup.