making it so that viewing happens in analysis mode without SET_DATA_MODE perm, fixing image cache bug