fixed maximize; added support for windows 10
fixed maximize; added support for windows 10