Got basic slideshow funcionality to work.
Added slideshow support, better keybindings, and better image sizing.
Generating the HTML/JS from templates.