hide OpenGLWindow in normal charts

Change-Id: Ie45a910d2b99b7644a8055476aa191ef8a724d38
fix crash on exit

Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61