established binding of preview models and views
implemented preferred window size logic