Bugs downloading rendering

Multiple fixes for areas involving lesson downloading and rendering on limited memory devices