Moved code to send events through mediaStream API to separate method.
Also pass number of downloaded/total bytes to "downloadedChunk" event.
Show progress while presentation is being downloaded.
Make current page number editable to quickly switch pages.
Handle keycodes (left/right/space) to navigate the presentation.