Added option to change wordwindow.
Added wordWindow option. Cleanup.