glow window issues

this pr fixes #652 (NullReferenceException in GlowWindow) and #711 (Glow problem with SizeToContent)