Open documents in window with scrollbars. Removed trailing spaces