Added window/frame enhancements and portrait orientation constraint.