Image preloading solved

Major overall update into callbacks,  quick edit to kjs file to be more
forgiving.