Proper capitalization, plus clean up of settings
Massive overhaul. Added Markov chain functionality.