Stream pages fixes and JPG addition