main view, window lib