tweaked image loader stuff