maximize box, bugfix #2

*hide render window maximize box
*fixed X close event on win32