Fixed a ton of bugs including (1) sliding window (2) dictionary overwriting. No longer writes to the file and then reopens for SVM, uses a dynamic dictionary