improve image deferrer offline, checkonline events, fix search checkonline regression (bug 1002988)