Added window size saving/loading