Added more Window methods and fixed content view / window size bugs.