Implemented orientation changing, resizing, optional support of different interface orientations.