Codebehind to vm merge into master.

Finished transitioning code out of the CodeBehind and into the View Models for most windows (excepting the primary Typing Window).