Fixed some windowing issues + flag to hide window at creation