Made image popup better, fixed controller.addCache and .addFavorite