Fixed a bug I made last commit. Also, Window can be unmaximized.