Implement minimize
Define some sync getters for the window API