Style fix
Indented XML dump
Refactored. Implementation of the current slide detection algorithm.
Algorithm to get slide in focus completed.
Previews now only creates one window