Fixed image grabber. Need to clean up.